<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		 <script>
        function Game(name,age,gender,boy,talk){
            this.name=name;
            this.age=age;
            this.gender=gender;
            this.boy=boy;
            this.talk=talk;
            this.play=function(){
                alert(this.name+this.age+this.gender+this.boy+this.talk)
            }
        }
       
        var lol=new Game("小明","18,","男,","有男朋友,","男朋友会说话");
        lol.play();
//      alert(lol instanceof Game);

    </script>
	</body>
</html>
